﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Light.Master"
    CodeBehind="BookDetails.aspx.vb" Inherits="QLThuVien.BookDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function gobackLogin() {
            window.location = ("Login.aspx")
        }
    
    </script> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_body" runat="server">
    <div class="section section-breadcrumbs">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <h1 style="font-size:27px">
                        Chi Tiết Sách</h1>
                </div>
            </div>
        </div>
    </div>
    <div class="section">
        <div class="container">
            <div class="row">
            
                        <!-- Product Image & Available Colors -->
                        <div class="col-sm-6">
                            <asp:DataList ID="DataList_SachChiTiet" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <ItemTemplate>
                            <div class="product-image-medium">
                                <asp:Image ID="img_hinh" runat="server" ImageUrl='<%# Eval("hinh")%>' Height="450px" Width="380px"    />
                               
                            </div>
                        </div>
                        <!-- End Product Image & Available Colors -->
                        <!-- Product Summary & Options -->
                        <div class="col-sm-6 product-details">
                            <h4 style="font-size:28px; color:Blue">
                                <asp:Label ID="lbl_tensach" runat="server" Text='<%# Eval("tensach")%>'></asp:Label></h4>
                            <h5 style="color:Maroon; font-size:21px">Mô Tả
                            </h5>
                            <p style="color:Black;font-size:17px">
                                <%# Eval("chitiet")%>
                            </p>
                            <h5 style="color:Maroon; font-size:21px">Tác Giả
                                </h5>
                                <p style="color:Black;font-size:17px"><%# Eval("tacgia")%></p>
                            <h5 style="color:Maroon; font-size:21px">
                                Nhà Xuất Bản</h5>
                                <p style="color:Black;font-size:17px"><%# Eval("nxb")%></p>
                                  <h5 style="color:Maroon; font-size:21px">
                                Số Lượng Hiện Tại</h5>
                                <p style="color:Black;font-size:17px">
                                <asp:Label ID="lbl_soluong" runat="server" Text='<%# Eval("soluong")%>'></asp:Label></h5>
</p>
                                    </ItemTemplate>
                </asp:DataList>
                 <a href="BorrowingCart.aspx" id="a_themmuon" runat="server" onserverclick="themMuon"  class="btn btn"><i class="icon-shopping-cart icon-white">
                            </i>Thêm Vào Mượn</a>
                        </div>
            </div>
        </div>
    </div>
</asp:Content>
